package com.wwj.core.server.service.impl;

import com.wwj.core.server.entity.ServerConfig;
import com.wwj.core.server.entity.mapper.ServerConfigMapper;
import com.wwj.core.server.service.IServerConfigService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ServerConfigServiceImpl implements IServerConfigService {
    @Resource
    private ServerConfigMapper serverConfigMapper;

    @Override
    public ServerConfig findByType(int type) {
        return serverConfigMapper.selectServerConfigByType(type);
    }
}
